<!--左侧导航开始-->
<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close">
        <i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" src="/img/profile_small.jpg" /></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear">
                            <span class="block m-t-xs"><strong class="font-bold">前尘忆梦</strong></span>
                            <span class="text-muted text-xs block">超级管理员</span>
                        </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li>
                            <a class="J_menuItem" href="form_avatar.html">修改头像</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="profile.html">个人资料</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="contacts.html">联系我们</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="mailbox.html">信箱</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="login.html">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">M
                </div>
            </li>
            <li>
                <a class="J_menuItem" href="/content">
                    <i class="fa fa-home"></i>
                    <span class="nav-label">主页</span>
                </a>
            </li>
            <!--遍历menuList-->
            <#if menuList??>
                <#list menuList as item>
                    <li>
                        <a href="${item.url}"><i class="fa ${item.icon} fa-fw"></i>
                            <span class="nav-label">${item.name}</span>
                            <#if item.leafNode == 0>
                                <span class="fa arrow"></span>
                            </#if>
                        </a>
                        <#if item.treeNodeList??>
                            <ul class="nav nav-second-level">
                                <#list item.treeNodeList as item>
                                    <li>
                                        <a class="J_menuItem" href="${item.url}">
                                            <i class="fa ${item.icon} fa-fw"></i>${item.name}
                                            <#if item.leafNode == 0>
                                                <span class="fa arrow"></span>
                                            </#if>
                                        </a>
                                        <#if item.treeNodeList??>
                                            <ul class="nav nav-third-level">
                                                <#list item.treeNodeList as item>
                                                        <li>
                                                            <a class="J_menuItem" href="${item.url}">
                                                                <i class="fa ${item.icon} fa-fw"></i>${item.name}
                                                            </a>
                                                        </li>
                                                </#list><!--三级菜单list-->
                                            </ul>
                                        </#if><!--三级菜单判断为空-->
                                    </li>
                                </#list><!--二级菜单list-->
                            </ul>
                        </#if><!--二级菜单判断为空-->
                    </li>
                </#list><!--一级菜单list-->
            </#if><!--一级菜单判断为空-->
        </ul>
    </div>
</nav>
